package j2eebusinessservice;

import j2eebusinessservice.J2eeBusinessServiceMatch;
import j2eebusinessservice.J2eeBusinessServiceMatcher;
import org.eclipse.viatra2.emf.incquery.runtime.api.IncQueryEngine;
import org.eclipse.viatra2.emf.incquery.runtime.api.impl.BaseGeneratedMatcherFactory;
import org.eclipse.viatra2.emf.incquery.runtime.exception.IncQueryRuntimeException;

/**
 * A pattern-specific matcher factory that can instantiate J2eeBusinessServiceMatcher in a type-safe way.
 * 
 * @see J2eeBusinessServiceMatcher
 * @see J2eeBusinessServiceMatch
 * 
 */
public class J2eeBusinessServiceMatcherFactory extends BaseGeneratedMatcherFactory<J2eeBusinessServiceMatch,J2eeBusinessServiceMatcher> {
  @Override
  protected J2eeBusinessServiceMatcher instantiate(final IncQueryEngine engine) throws IncQueryRuntimeException {
    return new J2eeBusinessServiceMatcher(engine);
    
  }
  
  @Override
  protected String getBundleName() {
    return "hu.bme.mit.inf.omgi.queries";
    
  }
  
  @Override
  protected String patternName() {
    return "J2eeBusinessService";
    
  }
}
